<%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="tip">
	<span>资产查询</span>
</div>
<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="${path }/assetinfo/assetinfoAction!listAssetinfo.action"  method="post" rel="pagerForm" id="pagerFindForm">
		<div class="searchBar">
			<table class="pageFormContent">
				<tr>
					<td>
						<label>
							资产编码：
						</label>
						<input type="text" name="filter_and_equipnumber_EQ_S" value="${filter_and_equipnumber_EQ_S }" />
					</td>
					  <td align="right">
                                                                    资产名称：
                      </td>
                      <td>
                        <input name="filter_and_name_LIKE_S" value="${filter_and_name_LIKE_S }" type="text" />
                      </td>
			
					  <td align="right">
		                                                存放地点：
		              </td>
		              <td>
		              	<select name="filter_and_storageplace_EQ_S" rel="iselect">
							<option selected="selected" value=""></option>
							<option value="1">电脑设备库</option>
							<option value="4">会计办公室</option>
							<option value="5">总经理办公室</option>
						</select>
					</td>
					 
                 </tr>
                 <tr>
                  	<td>
                       <label>资产型号：</label>
                     	<input name="filter_and_models_EQ_S" value="${filter_and_models_EQ_S }" type="text"  />
                     </td>
                     
                      <td align="right">
                                                                      使用部门：
                      </td>
                      <td>
                        <select name="filter_and_department_EQ_S" rel="iselect">
							<option selected="selected" value=""></option>
							<option value="7">营运部</option>
							<option value="23">|—企划部</option>
							<option value="4">|—财务部</option>
							<option value="8">|—|—微机室</option>
							<option value="9">|—|—财务室</option>
							<option value="5">|—行政部</option>
							<option value="10">|—|—总经办</option>
							<option value="20">|—信息部</option>
							<option value="21">|—|—IT部</option>
							<option value="47">|—|—人力资源部</option>
						</select>
                    </td>
					
					 <td align="right">
                                                                使用状态：
                     </td>
                     <td>
                         <select name="filter_and_state_EQ_S" rel="iselect">
							<option selected="selected" value=""></option>
							<option value="正常">正常</option>
							<option value="维修中">维修中</option>
							<option value="已报废">已报废</option>
						</select>
					
					<td>
						<div class="buttonActive" style="margin-left: 10px">
							<div class="buttonContent">
								<button type="submit">
									查找
								</button>
							</div>
						</div>
						<div class="buttonActive"><div class="buttonContent"><button type="button" id="clearText">重置</button></div></div>
						</td>
				</tr>
			</table>
		</div>
		<h3 align="center">资产信息 </h3>
	</form>
</div>
<div class="pageContent">
	
	<div class="panelBar">
			
			<ul class="toolBar">
				<web:exportExcelTag pagerFormId="pagerFindForm"
					pagerMethodName="findByPage"
					actionAllUrl="org.hpin.asset.web.AssetinfoAction"
					informationTableId="exportExcelTable" 
					fileName="assetinfo"></web:exportExcelTag>
			</ul>	
					
			
		<jsp:include page="/common/pagination.jsp" />
	</div>
	<table class="list" width="100%" layoutH="150" id="exportExcelTable">
		<thead>
			<tr>
			<th><nobr>序号</nobr></th>
			<th>查看</th>
			<th export = "true" columnEnName ="equipnumber" columnChName = "资产编码">资产编码</th>
			<th export = "true" columnEnName = "type" columnChName = "分类" >分类</th>
			<th export = "true" columnEnName = "name" columnChName = "资产名称">资产名称</th>
			<th export = "true" columnEnName = "measure" columnChName = "计量单位">计量单位</th>
			<th export = "true" columnEnName = "models" columnChName = "型号">型号</th>
			<th export = "true" columnEnName = "department" columnChName = "使用部门">使用部门</th>
			<th export = "true" columnEnName = "storageplace" columnChName = "存放地点">存放地点</th>
			<th export = "true" columnEnName = "state" columnChName = "当前状态">当前状态</th>
		
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${ page.results }" var="assetinfo"  varStatus="status">
				<tr target="sid_user" rel="${assetinfo.assetno }">
					<th>${status.count }</th>
					<th><a href="${ path }/assetinfo/assetinfoAction!browAssetinfo.action?id=${assetinfo.assetno }"  target="dialog">详细属性</a></th>
					<td align="center" nowrap="nowrap">${assetinfo.equipnumber}</td>
					<td align="center">${assetinfo.type}</td> 
					<td align="center">${assetinfo.name}</td> 
					<td align="center">${assetinfo.measure}</td> 
					<td align="center">${assetinfo.models}</td> 
					<td align="center">${assetinfo.department}</td> 
					<td align="center">${assetinfo.storageplace}</td> 
					<td align="center">${assetinfo.state}</td> 
				</tr>
			</c:forEach>
		</tbody>
	</table>

</div>
